import request from '@/utils/request'

// 查询运维人员信息列表
export function listOperationUser(query) {
   return request({
    url: '/device/operationUser/list',
    method: 'get',
    params: query
  })
}

// 查询运维人员信息详细
export function getOperationUser(id) {
  return request({
    url: '/device/operationUser/' + id,
    method: 'get'
  })
}

// 新增运维人员信息
export function addOperationUserr(data) {
  return request({
    url: '/device/operationUser',
    method: 'post',
    data: data
  })
}

// 修改运维人员信息
export function updateOperationUser(data) {
  return request({
    url: '/device/operationUser',
    method: 'put',
    data: data
  })
}

// 删除运维人员信息
export function delOperationUser(id) {
  return request({
    url: '/device/operationUser/' + id,
    method: 'delete'
  })
}